from restaurant import Restaurant


class IceCreamStand(Restaurant):

    def __init__(self, restaurant_name, cuisine_type, flavors):
        super().__init__(restaurant_name, cuisine_type)

        self.flavors = flavors

    def show_favors(self):
        """打印这家冰淇淋小店的口味"""
        self.describe_restaurant()
        print(f"Ice cream stand has favors: {self.flavors}")


if __name__ == '__main__':
    flavors = ["香草", "草莓", "巧克力", "香芋"]
    stand = IceCreamStand("我家冰淇淋", "西餐", flavors)
    stand.show_favors()
